@model ShivamEMR.Model.Domain.PatientDomain.PatientTest

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>PatientTest</legend>

    <div class="display-label">Result</div>
    <div class="display-field">@Model.Result</div>

    <div class="display-label">DateAndTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.DateAndTime)</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">Test</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Test).ToString()</div>

    <div class="display-label">Picture</div>
    <div class="display-field">@(Model.Picture == null ? "None" : Model.Picture.Title)</div>

    <div class="display-label">Patient</div>
    <div class="display-field">@(Model.Patient == null ? "None" : Model.Patient.Title)</div>

    <div class="display-label">Venue</div>
    <div class="display-field">@(Model.Venue == null ? "None" : Model.Venue.Title)</div>

    <div class="display-label">Technician</div>
    <div class="display-field">@(Model.Technician == null ? "None" : Model.Technician.Title)</div>

    <div class="display-label">ResultPictures</div>
    <div class="display-field">@(Model.ResultPictures == null ? "None" : Model.ResultPictures.Count.ToString())</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


